package com.atguigu.guli.service.trade.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.trade.feign.UcenterMemberService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author dyqstart
 * @create 2021-07-17-21:49
 * @since 1.0.0
 */
@Slf4j
@Service
public class UcenterMemberServiceFallBack implements UcenterMemberService {
    @Override
    public R getMemberDtoById(String memberId) {
        log.warn("熔断保护");
        return R.error();
    }
}
